Bakery Algorithms

نویسنده

  • Uri Abraham
چکیده

An approach to proving higher level properties of distributed protocols is suggested here in which a proof consists of two stages: In the higher-level stage, abstract properties of system executions are assumed and their desired consequences are proved. At the lower-level stage these abstract properties are shown to hold in every execution of the protocol. The paper studies the Bakery Algorithm of Lamport and some variants (these are all mutual exclusion protocols), and its main contribution is a protocol which is similar to the Bakery Algorithm but only uses bounded values. Another variant uses local clocks to coordinate the protocol's execution, and conditions on the clocks are determined that suuce for the protocol's correctness. In what sense is our bounded algorithm similar to the unbounded Bakery Algorithm? In that both satisfy the \Bakery Deenability prop-erty" (which is a strong form of the First Come First Serve property). An advantage of this two stage approach is demonstrated by the correctness proofs given to these variants of the Bakery Algorithm: Since they are shown to share with the Bakery Algorithm the same higher-level properties, their correctness proofs are reduced to only one stage (the lower level).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Black-White Bakery Algorithm and Related Bounded-Space, Adaptive, Local-Spinning and FIFO Algorithms

A mutual exclusion algorithm is presented that has four desired properties: (1) it satisfies FIFO fairness, (2) it satisfies localspinning, (3) it is adaptive, and (4) it uses finite number of bounded size atomic registers. No previously published algorithm satisfies all these properties. In fact, it is the first algorithm (using only atomic registers) which satisfies both FIFO and local-spinni...

متن کامل

A case study on using evolutionary algorithms to optimize bakery production planning

The production of bakery goods is strictly time sensitive due to the complex biochemical processes during dough fermentation, which leads to special requirements for production planning and scheduling. Instead of mathematical methods scheduling is often completely based on the practical experience of the responsible employees in bakeries. This sometimes inconsiderate scheduling approach often l...

متن کامل

On Veriication of Reenements of Asynchronous Timed Distributed Algorithms

This work is an attempt to apply Gurevich Abstract State Machines methodology to the veriication of reenements of real-time distributed asynchronous algorithms. If to deene the reenement following the semantical framework of observability, that seems to be reasonable, the reenement of timed programs is not a simple replacement of a part of a program by its detalization. As an example to illustr...

متن کامل

Long-lived Adaptive Collect with Applications

A distributed algorithm is adaptive if the worst case step complexity of its operations is bounded by a function of the number of processes that are concurrently active during the operation (rather than a function of N , the total number of processes, which is usually much larger). In this paper we present long-lived and adaptive algorithms for collect in the read/write shared-memory model. Rep...

متن کامل

Detection of relevant amounts of cow’s milk protein in non-pre-packed bakery products sold as cow’s milk free

BACKGROUND Currently, there is no mandatory labelling of allergens for non-pre-packed foods in the EU. Therefore, consumers with food allergy rely on voluntary information provided by the staff. The aim of this study was to characterize allergic reactions to non-pre-packed foods and to investigate whether staff in bakery shops were able to give advice regarding a safe product choice. METHODS ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995